<h3>登陆</h3>
<a class="btn btn-primary btn-block" 
[routerLink]="['/management']"
(click)="login()">登陆</a>
<form [formGroup]="myForm">
    <div class="form-group">
      <label for="userName">用户名</label>
      <input type="text" class="form-control" id="userName" name="userName" [formControl]='userName'>
    </div>
    <div class="form-group">
      <label for="password">密码</label>
      <input type="password" class="form-control" id="password" name="password" [formControl]='password'>
    </div>
  </form>
  